//
//  DBManager.h
//  DuBai
//
//  Created by darktm on 14-3-17.
//  Copyright (c) 2014年 darktm. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "WYDatabase.h"

typedef enum : NSUInteger {
    DBTypeEn = 0,
    DBTypeCn = 1
} DBType;

@interface DBManager : NSObject


+(instancetype)shareInstance:(DBType)type;

-(instancetype)initWithType:(DBType)type;

@property(nonatomic,readonly)WYDatabase *db;

-(void)reset;

@end
